#ifndef LOGIN_H
#define LOGIN_H

#include <QWidget>
#include <QSqlDatabase>
#include <QSqlError>
#include <QDebug>
#include <QMessageBox>
#include <QSqlQuery>
#include "DatabaseManager.h"


#define defaultUserName "storeCheck"
#define defaultUserPassword "000000"

QT_BEGIN_NAMESPACE
namespace Ui {
class Widget;
}
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

private slots:
    void m_on_btn_login_clicked(void);

private:
    Ui::Widget *ui;

    DatabaseManager* m_databaseManager;

};

#endif // LOGIN_H
